<%--
    Document   : searchbyactor
    Created on : Apr 28, 2011, 11:26:06 AM
    Author     : Kevin
--%>

<%@page import="com.movie.Actor"%>
<%@page import="com.movie.Movie"%>
<%@page contentType="text/html" import="java.util.*" import="java.movie.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@include file="header.html"%>
<% List actorList = (List)request.getAttribute("allbyactor");
   Actor actor = null;
%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>actor name</h1>
        
        <% for(int i=0; i<actorList.size();i++)
           { actor = (Actor)actorList.get(i);
        %>
        <a href="ResultByActor?id=<%=actor.getIdactor()%>"><%=actor.getFirstname()%>&nbsp;<%=actor.getLastname()%></a>
        <%}%>
        
        
        
        
        
        
        
        
        
        
    </body>
</html>
<%@include file="footer.html"%>